package com.elepro.shoppingmall.service.comment;

import com.elepro.shoppingmall.entity.comments.Comment;
import com.elepro.shoppingmall.mapper.comment.CommentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

public interface CommentService {

    public List<Comment> getCommentList();

    public List<Comment> selectCommentListByGoodsId(Long goodsId);

    public int insertComment(Comment comment);

    public int deleteComment(Long id);
}
